<%@ page language="java" contentType="text/html; charset=utf-8"    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>插入WMV视频</title>
<style>
html{overflow:hidden;margin:0px;height:100%;width:100%}
body{margin:0px;height:100%;width:100%}
td{text-align:center;background:#ffffff}
.Inp{height:21px;width:400px;background:#ffffff;border:1px #cccccc solid;line-height:21px}
.But{cursor:pointer;width:80px;height:21px;border:1px #cccccc solid;background:#f1f1f1}
</style>
<body>
<script language="javascript">
function $(obj){return document.getElementById(obj)}
window.returnValue="";
function InfoCode(InfoNum){
var Str="";
if(InfoNum==0){Str=""}else{
	Str=$("code").value
	if(Str=="http://"){Str=""}else{
		Str="<object height='550' width='400' classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' viewastext='VIEWASTEXT'><param name='AutoStart' value='false'><param name='url' value='"+Str+"'><param name='uiMode' value='full'></object>";
		}
	}
window.returnValue=Str;
window.close()
}
</script>
<body>
<table style='width:100%;height:100%' cellspacing='0' cellpadding='0' style="background:#FFFFFF">
<tr><td style='height:50%'>
<input class='Inp' id="code" value="http://" onclick="this.select()">
</td></tr>
<tr><td style='height:50%'>
<input type="button" class='But' value="确定" onclick="InfoCode(1)"> 
<input type="button" class='But' value="取消" onclick="InfoCode(0)">
</td></tr></table>
</body>
</html>